package kingwing.dc.core.view.frame.main.register.excelmodel;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Component;

import com.bstek.bdf2.importexcel.model.ExcelModel;
import com.bstek.bdf2.importexcel.model.ExcelModelDetail;

@Component
public class PbcCoreExcelGenerator extends AbstractExcleGenerator {

	@Override
	public List<ExcelModel> getExcelModels() {
		
		List<ExcelModel> ExcelModels = new ArrayList<ExcelModel>();
		List<ExcelModelDetail> listExcelModelDetail = new ArrayList<ExcelModelDetail>();
		
		ExcelModelDetail excelModelDetail = this.createExcleModelDetail("1", "0001", 1, null, null);
		listExcelModelDetail.add(excelModelDetail);
		excelModelDetail = this.createExcleModelDetail("2", "0001", 2, null, null);
		listExcelModelDetail.add(excelModelDetail);
		excelModelDetail = this.createExcleModelDetail("3", "0001", 3, null, null);
		listExcelModelDetail.add(excelModelDetail);
		excelModelDetail = this.createExcleModelDetail("4", "0001", 4, null, null);
		listExcelModelDetail.add(excelModelDetail);
		excelModelDetail = this.createExcleModelDetail("5", "0001", 5, null, null);
		listExcelModelDetail.add(excelModelDetail);
		
		ExcelModel excelModel = this.createExcleModel("0001", "站点规则导入", null, null, null, null, null, null, null, 1, 2, 0, 0, "ruleIExcelProcessor", null, null, null, listExcelModelDetail);
		ExcelModels.add(excelModel);
		
		return ExcelModels;
	}

}
